Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / AsDataCollection Method / AsDataCollection<T>(IEnumerable) Method
The type of the data collection.
The source of the data collection.

In This Topic
    AsDataCollection<T>(IEnumerable) Method
    In This Topic
    Wraps an System.Collections.IEnumerable into a data collection.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function AsDataCollection(Of T As Class)( _
       ByVal source As IEnumerable _
    ) As IDataCollection(Of T)
    public static IDataCollection<T> AsDataCollection<T>( 
       IEnumerable source
    )
    where T: class

    Parameters

    source
    The source of the data collection.

    Type Parameters

    T
    The type of the data collection.
    See Also